Are you using something like "jhbuild buildone gnome-shell"? This won't work, as you also need all of gnome-shell's dependencies - at least the mutter requirement is almost guaranteed to be newer than what your distribution provides.
Running "jhbuild build gnome-shell" should compile all dependencies of gnome-shell and gnome-shell itself.