diff --git a/scripts/extract_po.sh b/scripts/extract_po.sh
index 5407ff2644e5a0fb2f62b17ff1f7baae304a1185..92ef55b724b1532428069106eeb59f2f8cc493cd 100755
--- a/scripts/extract_po.sh
+++ b/scripts/extract_po.sh
@@ -3,16 +3,17 @@
 # syntax:
 # extract-po.sh
 
+# No -j on first line, to clear out .pot file (Issue#1170)
 
 # messages.po is server side strings
-xgettext  -j --keyword=_ -L Perl --output-dir=locale/templates/LC_MESSAGES --from-code=utf-8 --output=messages.pot\
- `find lib -name '*.js' | grep -v 'i18n.js'`
+xgettext  --keyword=_ -L Perl --output-dir=locale/templates/LC_MESSAGES --from-code=utf-8 --output=messages.pot\
+ `find lib -name '*.js' | grep -v 'i18n.js' | grep -v jwcrypto`
 xgettext -j -L PHP --keyword=_ --output-dir=locale/templates/LC_MESSAGES --output=messages.pot `find resources/views -name '*.ejs'`
 xgettext -j -L PHP --keyword=_ --output-dir=locale/templates/LC_MESSAGES --output=messages.pot `find lib/browserid -name '*.ejs'`
 
 # client.po 
 # js
-xgettext -j -L Perl --output-dir=locale/templates/LC_MESSAGES --from-code=utf-8 --output=client.pot\
+xgettext -L Perl --output-dir=locale/templates/LC_MESSAGES --from-code=utf-8 --output=client.pot\
  `find resources/static -name '*.js' | grep -v /lib/ | grep -v /build/ | grep -v /production/ | grep -v 'gettext.js'`
 xgettext -j -L Perl --output-dir=locale/templates/LC_MESSAGES --output=client.pot `find resources/static/dialog/ -name '*.js' | grep -v include.js`
 # ejs