Go to > System Preferences > Network, and select Wi-Fi. Click the Advanced… button and select the Wi-Fi tab.
Under Preferred Networks, select your old network, and click the "–" (minus) button. Check the box "Remember networks this computer has joined" if it is not already checked.
OK then Apply.
Your Mac should now remember it.