You can connect any of the LCD control and data pins to any available Arduino I/O pin. All you have to do is make sure that the connections you use agree with the list in the LiquidCrystal lcd(...); constructor. Either change the connections to agree with the constructor argument or change the constructor argument to agree with the connections.
//LiquidCrystal lcd(RS, E, D4, D5, D6, D7);
LiquidCrystal lcd(7, 8, 9, 10, 11, 12); // put your pin numbers here
The information is nicely buried here: LiquidCrystal - Arduino Reference
Don