diff --git a/jenkins-postgres.sh b/jenkins-postgres.sh
index 9ac86d259360b5c395f74b2b295dbf727b88aa67..9a78480dd87e7f151928332be7086e700c7cf30a 100755
--- a/jenkins-postgres.sh
+++ b/jenkins-postgres.sh
@@ -26,6 +26,7 @@ tox --notest -e py27
 
 TOX_BIN=$WORKSPACE/.tox/py27/bin
 $TOX_BIN/pip install psycopg2
+$TOX_BIN/pip install lxml
 
 : ${GIT_BRANCH:="origin/$(git rev-parse --abbrev-ref HEAD)"}
 
diff --git a/jenkins-sqlite.sh b/jenkins-sqlite.sh
index 345d01936c50a1c6c306c98504b51b89436ad4cf..5500f8d8d619a638d1bdc0bfeb54e56cbce666ab 100755
--- a/jenkins-sqlite.sh
+++ b/jenkins-sqlite.sh
@@ -24,6 +24,7 @@ rm .coverage* || echo "No coverage files to remove"
 
 tox --notest -e py27
 TOX_BIN=$WORKSPACE/.tox/py27/bin
+$TOX_BIN/pip install lxml
 
 : ${GIT_BRANCH:="origin/$(git rev-parse --abbrev-ref HEAD)"}