diff --git a/helpers/make-firefox b/helpers/make-firefox
index 29f9c7f38785c065fbcc640443cf94087d242c1d..b5fdd1732defdc654447237ef6a8532c2ba204aa 100644
--- a/helpers/make-firefox
+++ b/helpers/make-firefox
@@ -259,6 +259,9 @@ debian/rules debian/control
 #https://bugzilla.mozilla.org/show_bug.cgi?id=1047803
 sed 's/--enable-optimize$/--enable-optimize="-O2"/' -i debian/config/mozconfig.in
 
+# dom/plugins/test/testplugin/nptest_gtk2.cpp fails to build on gtk3
+sed "s/'testplugin',//" -i dom/plugins/test/moz.build
+
 changelog  "Rebranded for Trisquel"
 
 compile