diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 2daf367432..738ca8eda1 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -1155,10 +1155,13 @@ gtk.gresource.xml: Makefile.am
n=`basename $$f`; \
echo " ui/$$n" >> $@; \
done; \
- for s in 16x16 22x22 24x24 32x32; do \
- for f in $(srcdir)/icons/$$s/actions/*.png; do \
- n=`basename $$f`; \
- echo " icons/$$s/actions/$$n" >> $@; \
+ shopt -s nullglob; \
+ for s in 16x16 22x22 24x24 32x32 48x48; do \
+ for c in actions status; do \
+ for f in $(srcdir)/icons/$$s/$$c/*.png; do \
+ n=`basename $$f`; \
+ echo " icons/$$s/$$c/$$n" >> $@; \
+ done; \
done; \
done; \
for f in $(srcdir)/inspector/*.ui; do \