AG Barr is to end production of its returnable bottles after a GBP5m (US$7.8m) upgrade at its bottling plant in Scotland.