--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,7 @@
 SUBDIRS = m4 pixmaps include src doc browser-plugin misc po
 
 #DEB_FILES = debian/rules debian/changelog debian/control debian/copyright debian/README.Debian debian/menu
-EXTRA_DIST = config.rpath gxine.desktop.in mime.default autogen.sh gxine-test \
+EXTRA_DIST = config.rpath gxine.desktop.in mime.default mime.extra autogen.sh gxine-test \
 	BUGS README.de README.cs README_l10n
 
 Applicationsdir = $(datadir)/applications
@@ -61,15 +61,14 @@
 
 if XINE_LIST
 gxine.desktop: gxine.desktop.in @XINE_LIST@
-	exec > $@; $(XINE_MIME_PROCESS) $<; @XINE_LIST@; echo
+	exec > $@; $(XINE_MIME_PROCESS) $<; @XINE_LIST@; cat $(srcdir)/mime.extra
 else
 XINE_MIME = $(if $(shell test "$(XINE_CONFIG)" = '' && echo y),$(shell pkg-config --variable=plugindir libxine),$(shell $(XINE_CONFIG) --plugindir))/mime.types
 MIME = $(if $(shell test -f $(XINE_MIME) && echo y),$(XINE_MIME),$(srcdir)/mime.default)
 gxine.desktop: gxine.desktop.in $(MIME)
 	exec > $@; \
 	$(XINE_MIME_PROCESS) $<; \
-	awk 'BEGIN { s = "%s;" } { printf s, $$1; s = "%s;" }' <$(MIME); \
-	echo
+	cat $(MIME) $(srcdir)/mime.extra | awk 'BEGIN { s = "%s;" } { printf s, $$1; s = "%s;" }'
 endif
 
 ACLOCAL_AMFLAGS = -I m4 -I m4/gettext