diff --git a/gajim.nsi b/gajim.nsi
index 842d5f881798cf084de4e2db7fd0a69e0444bc14..e2be01acb9d53feed31660d0a554569773ecd9bc 100644
--- a/gajim.nsi
+++ b/gajim.nsi
@@ -146,6 +146,7 @@ Section "Gajim" SecGajim
 	File "THANKS.artists"
 
 	SetOutPath "$INSTDIR\bin"
+	File "bin\_bsddb.pyd"
 	File "bin\_ctypes.pyd"
 	File "bin\_hashlib.pyd"
 	File "bin\_socket.pyd"
@@ -234,6 +235,16 @@ Section "Gtk+ 2" SecGtk
 	File /r "bin\gtk\share\xml"
 SectionEnd
 
+Section "Plugins" SecPlugins
+	SetOutPath "$INSTDIR\plugins"
+	File /r "plugins\acronyms_expander"
+	File /r "plugins\banner_tweaks"
+	File /r "plugins\length_notifier"
+	File /r "plugins\plugin_installer"
+	File /r "plugins\triggers"
+	File /r "plugins\whiteboard"
+SectionEnd
+
 SectionGroup $(NAME_Emoticons)
 
 Section "animated" SecEmoticonsAnimated
@@ -641,6 +652,7 @@ Section "Uninstall"
 	RMDir /r "$INSTDIR\bin\gtk\share\xml"
 	RMDir "$INSTDIR\bin\gtk\share"
 	RMDir "$INSTDIR\bin\gtk"
+	Delete "$INSTDIR\bin\_bsddb.pyd"
 	Delete "$INSTDIR\bin\_ctypes.pyd"
 	Delete "$INSTDIR\bin\_hashlib.pyd"
 	Delete "$INSTDIR\bin\_socket.pyd"
@@ -677,7 +689,8 @@ Section "Uninstall"
 	Delete "$INSTDIR\bin\win32file.pyd"
 	Delete "$INSTDIR\bin\win32pipe.pyd"
 	Delete "$INSTDIR\bin\winsound.pyd"
-	RMDir "$INSTDIR\bin"
+	Delete "$INSTDIR\bin\msvcr90.dll"
+	RMDir /r "$INSTDIR\bin"
 	RMDir /r "$INSTDIR\data\gui"
 	RMDir /r "$INSTDIR\data\moods"
 	RMDir /r "$INSTDIR\data\activities"
@@ -698,6 +711,13 @@ Section "Uninstall"
 	RMDir /r "$INSTDIR\data\iconsets\transports"
 	RMDir "$INSTDIR\data\iconsets"
 	RMDir "$INSTDIR\data"
+	RMDir /r "$INSTDIR\plugins\acronyms_expander"
+	RMDir /r "$INSTDIR\plugins\banner_tweaks"
+	RMDir /r "$INSTDIR\plugins\length_notifier"
+	RMDir /r "$INSTDIR\plugins\plugin_installer"
+	RMDir /r "$INSTDIR\plugins\triggers"
+	RMDir /r "$INSTDIR\plugins\whiteboard"
+	RMDir "$INSTDIR\plugins"
 	RMDir /r "$INSTDIR\icons\hicolor"
 	RMDir "$INSTDIR\icons"
 	RMDir /r "$INSTDIR\po\be"
diff --git a/setup_win32.py b/setup_win32.py
index 7a94bb72471cbd11155013b9fdadf8b9be4e40e4..b577a51eb236cf562fbae6e77eede9da41c2c4b8 100644
--- a/setup_win32.py
+++ b/setup_win32.py
@@ -31,7 +31,7 @@ if 'gtk' in os.listdir('.'):
 
 options = {
    'build_exe': {
-       'includes': ['gtk.keysyms'],
+       'includes': ['gtk.keysyms', 'dumbdbm', 'dbhash', 'bsddb', 'new'],
        'base': 'Win32GUI',
 	   'bin_excludes': [
             'iconv.dll', 'intl.dll', 'libatk-1.0-0.dll',