diff --git a/Makefile b/Makefile
index 7dbe888d8e58991c867ed8799c8d2d769129ab26..2ca9d783dbfe44f0cbf89d50a8a41fd3570771ca 100644
--- a/Makefile
+++ b/Makefile
@@ -14,6 +14,7 @@ LIBREOFFICE := libreoffice
 
 # Pictures.
 DIA := dia
+DOT := dot
 CONVERT := convert
 GNUPLOT := gnuplot
 FONTSIZE := 20
@@ -80,7 +81,7 @@ release: all clean
 	$(CONVERT) $< $@
 
 %.eps: %.dot
-	$(CONVERT) $< $@
+	$(DOT) -Teps -o $@ $<
 
 %.eps: %.gif
 	$(CONVERT) $< $@