diff --git a/meta-gnome/recipes-support/ibus/ibus.inc b/meta-gnome/recipes-support/ibus/ibus.inc
index 9ec1dfe578..1344cb1981 100644
--- a/meta-gnome/recipes-support/ibus/ibus.inc
+++ b/meta-gnome/recipes-support/ibus/ibus.inc
@@ -40,4 +40,6 @@ EXTRA_OECONF:append:class-target = "\
 do_configure:prepend() {
     touch ${S}/ChangeLog
     touch ${S}/ABOUT-NLS
+    # Remove vapigen.m4 bundled with sources so that the one shipped by vala is used instead.
+    rm -f ${S}/m4/vapigen.m4
 }
