Fix Makefile.am
--- gnucash-2.2.9/src/gnome-utils/Makefile.am       2009-02-18 23:09:43.000000000 +0100
+++ gnucash-2.2.9mod/src/nome-utils/Makefile.am     2010-01-27 19:56:25.443656035 +0100
@@ -61,7 +61,6 @@
   gnc-general-select.c \
   gnc-gnome-utils.c \
   gnc-gui-query.c \
-  gnc-html-graph-gog.c \
   gnc-html-history.c \
   gnc-html.c \
   gnc-icons.c \
@@ -131,7 +130,6 @@
   gnc-general-select.h \
   gnc-gnome-utils.h \
   gnc-gui-query.h \
-  gnc-html-graph-gog.h \
   gnc-html-history.h \
   gnc-html.h \
   gnc-icons.h \


Remove references to the 
--- gnucash-2.2.9/src/gnome-utils/gnc-gnome-utils.c 2008-07-23 00:43:10.000000000 +0200
+++ gnucash-2.2.9mod/src/gnome-utils/gnc-gnome-utils.c       2010-01-27 19:56:04.560166092 +0100
@@ -32,8 +32,6 @@
 #endif
 #include <libxml/xmlIO.h>
 
-#include "gnc-html-graph-gog.h"
-
 #include "druid-gconf-setup.h"
 #include "gnc-gconf-utils.h"
 #include "gnc-gnome-utils.h"

Meh
--- gnucash-2.2.9/src/gnome-utils/gnc-html.c        2009-02-18 23:09:43.000000000 +0100
+++ gnucash-2.2.9mod/src/gnome-utils/gnc-html.c      2010-01-27 20:08:10.624676450 +0100
@@ -49,7 +49,6 @@
 #include "gnc-gui-query.h"
 #include "gnc-html.h"
 #include "gnc-html-history.h"
-#include "gnc-html-graph-gog.h"
 #include "gnc-ui.h"
 #include "gnc-ui-util.h"
 
@@ -389,8 +388,6 @@
   for (i = 0; types[i].type; i++)
     gnc_html_register_urltype (types[i].type, types[i].protocol);
 
-  // initialize graphing support
-  gnc_html_graph_gog_init();
 }
 
 

