diff --git a/README.md b/README.md
index 625605d6cc333780b44c479b74da405658c58fa0..f85540b2716c2e7de023dc0f9051bea6b920b99c 100644
--- a/README.md
+++ b/README.md
@@ -219,6 +219,7 @@ that case, but I haven't tested doing it like that. Sorry. Get a better OS...)
           mingw-w64-i686-ladspa-sdk mingw-w64-i686-lame \
           mingw-w64-i686-libsndfile mingw-w64-i686-libvorbis \
           mingw-w64-i686-lua mingw-w64-i686-toolchain \
+          mingw-w64-i686-libjpeg-turbo \
           rsync unzip wget
 
 5. Download the source code *(3-6 minutes)*  
diff --git a/externals/Makefile b/externals/Makefile
index 10554ccf40393787e26415eb1e2e07591685f8a4..e60a73c990d0b1ea8c67d95289f2d3724ecfb8d6 100644
--- a/externals/Makefile
+++ b/externals/Makefile
@@ -642,6 +642,9 @@ $(gem_src)/Gem.dll: $(gem_src)/configure
 		CXXFLAGS="-DHAVE_S_STUFF_H" \
 		--host=i686-w64-mingw32 \
 		--without-ALL \
+		--with-jpeg \
+		--with-jpeg-cflags="-I/mingw32/include" \
+		--with-jpeg-libs="-L/mingw32/lib -ljpeg" \
 		--with-ftgl \
 		--with-ftgl-cflags="-I/mingw32/include -I/mingw32/include/freetype2" \
 		--with-ftgl-libs="-L/mingw32/lib -lftgl" \
diff --git a/packages/win32_inno/Makefile b/packages/win32_inno/Makefile
index 9c41bbfa0a1b0c834e438ddcc9faae46a973a5dc..3d93c56815150b4537cb416d261644e5e9e62af5 100755
--- a/packages/win32_inno/Makefile
+++ b/packages/win32_inno/Makefile
@@ -118,6 +118,7 @@ lib_install:
 	install -p $(bin_src)/zlib1.dll $(DESTDIR)$(bindir)/
 	install -p $(bin_src)/libpcre-1.dll $(DESTDIR)$(bindir)/
 	install -p $(bin_src)/libgraphite2.dll $(DESTDIR)$(bindir)/
+	install -p $(bin_src)/libjpeg-8.dll $(DESTDIR)$(bindir)/
 	# Apparently these Gem dependencies must be in the bindir
 	# to be found on Windows
 	-install -p $(DESTDIR)/extra/Gem/gem_film*.dll $(DESTDIR)$(bindir)/