diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 6061a75639..069bd58a90 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -1232,11 +1232,10 @@ gtk.gresource.xml: Makefile.am inspector/Makefile.inc
echo " theme/HighContrast/gtk-contained.css" >> $@; \
echo " theme/HighContrast/gtk-contained-inverse.css" >> $@; \
if test "$(win32_theme)" = "yes"; then \
- for f in $(srcdir)/theme/win32/*.css; do \
- n=`basename $$f`; \
- m=`echo $$n | cut -b 5-` \
- echo " theme/win32/$$n" >> $@; \
- done; \
+ echo " theme/win32/gtk-win32-base.css" >> $@; \
+ echo " theme/win32/gtk-win32.css" >> $@; \
+ echo " theme/win32/gtk-win32-classic.css" >> $@; \
+ echo " theme/win32/gtk-win32-xp.css" >> $@; \
fi; \
for f in $(srcdir)/cursor/*.png; do \
n=`basename $$f`; \