diff --git a/build.sh b/build.sh
index edd3f866f687436098bb68b3eb1a1b070bf48baf..a1a8c151896f5a229d7fbf90033d2c4af7b901db 100755
--- a/build.sh
+++ b/build.sh
@@ -281,7 +281,7 @@ prepare_libxml()
     echo "Retrieving libxml2 (this may take a while)..." | tee -a $LOGFILE
     cd $ROOT/3rdparty || failure
     rm -f libxml2-sources-2.6.32.tar.gz >> $LOGFILE 2>&1 || failure
-    wget --passive-ftp ftp://xmlsoft.org/libxml2/libxml2-sources-2.6.32.tar.gz >> $LOGFILE 2>&1 || failure
+    wget --passive-ftp ftp://xmlsoft.org/libxml2/old/libxml2-sources-2.6.32.tar.gz >> $LOGFILE 2>&1 || failure
     tar -xzf libxml2-sources-2.6.32.tar.gz >> $LOGFILE 2>&1 || failure
     rm libxml2-sources-2.6.32.tar.gz >> $LOGFILE 2>&1 || failure
     # substitute old source tree