diff --git a/lib/modules/Graphics.pmod/Graph.pmod/create_graph.pike b/lib/modules/Graphics.pmod/Graph.pmod/create_graph.pike
index f41cad640c01a3314bab665b663e846409fa71dc..9970df93197eb8ca04616bbe880da36fc85af55a 100644
--- a/lib/modules/Graphics.pmod/Graph.pmod/create_graph.pike
+++ b/lib/modules/Graphics.pmod/Graph.pmod/create_graph.pike
@@ -7,6 +7,8 @@
 //! @[create_graph] draws a graph but there are also some other functions
 //! used by @[create_pie] and @[create_bars].
 
+constant dont_dump_program = 1;
+
 #pike __REAL_VERSION__
 
 #include "graph.h"