diff --git a/src/gajim.py b/src/gajim.py
index fbcfaea10ebe0085edfa1dbac7445838330f6566..dbb812f2ca151a0e98dc920ffb0701c4d4dea049 100644
--- a/src/gajim.py
+++ b/src/gajim.py
@@ -73,7 +73,7 @@ demandimport.enable()
 demandimport.ignore += ['gobject._gobject', 'libasyncns', 'i18n',
     'logging.NullHandler', 'dbus.service', 'OpenSSL.SSL', 'OpenSSL.crypto',
     'common.sleepy', 'DLFCN', 'dl', 'xml.sax', 'xml.sax.handler', 'ic',
-    'Crypto.PublicKey', 'IPython', 'gst.interfaces']
+    'Crypto.PublicKey', 'IPython', 'contextlib', 'imp', 'gst.interfaces']
 
 if os.name == 'nt':
     import locale