Neil Jenkins scored 23 points as Pontypridd ground out another win to stay on course for a place in the Celtic League quarter-finals.
The Borders outscored their hosts by three tries to one and proved they are getting better with every game, despite the fact they remain winnless in the Celtic League.
"It was a hard earned victory and we didn't really perform. It was disappointing, but at least it was a win," said acting skipper Jon Bryant.
The robust Borders pack drove New Zealand flanker Campbell Feather over the home line for the game's first try in the opening half. That broke the deadlock after Kevin Utterson and Jenkins had swapped early kicks.
In the second half, Scotland and Lions outside half Gregor Townsend ghosted over for a try at the posts, but the ever reliable boot of Jenkins kept his side in contention.
Then some quick thinking from Wales back row man Michael Owen from a five metre penalty earned Ponty a try.Owen caught the Borders defenders napping as he ignored a penalty opportunity for Jenkins and drove over the line.
Jenkins added the wide angled conversion to leave the Scots chasing two scores to win.
In the end, they managed to send international wing Craig Moir racing 30 metres fro a try which Utterson converted with the last kick of the game to ensure a bonus point for the visitors.
Pontypridd lost their international flanker Richard Parks with a facial injury in the second half when he got a finger in his eye.
Scorers: Pontypridd: Try: M Owen; Con: N Jenkins: Pens: N Jenkins 6; DG: N Jenkins. Scottish Borders: Tries: C Feather, G Townsend, C Moir; Cons: K Utterson 3; Pens: K Utterson 2.
Porthcawl recently received a WRU facilities grant and funding from Natwest RugbyForce in order to give their changing rooms a facelift. This came after receiving £10,000 in a WRU facilities grant last year to tarmac their car park. The improvements have already helped to make the club more accessible, not only for their own members and players but for the whole community.
The Welsh Rugby Union has launched a new, accredited Safeguarding and Protecting Children course - funded by the WRU and delivered in partnership with Sport Wales and the NSPCC - fo rugby club volunteers around Wales.
The SWALEC semi-final draws threw up some mouth-watering clashes in the Cup, Plate and Bowl as the 12 teams aim for the Millennium Stadium Finals Day. All the semi-finals are to be played on the weekend of April 12.
Welsh whistler Rhys Thomas continues to scale the heights of the game as he prepares to be an official in this weekend's Hong Kong Sevens tournament, undoubtedly the showpiece event on the World Series calendar.
Wales International Ian Evans and Wales and Lions legend Scott Quinnell swapped rugby balls for paint pots at Tonna during the RBS 6 Nations. They surprised club players with a special clubhouse makeover to launch NatWest RugbyForce 2014 - a programme developed in partnership with the WRU to make rugby clubs stronger businesses by improving and renovating their facilities with the support of volunteers and the local community.
Fresh from claiming the Bowl honours in Tokyo last Sunday, the Wales Sevens squad have settled into their routine as they prepare for this weekend's Hong Kong tournament where Iolo Evans is aiming high, as WRU TV's Graeme Gillespie discovers.
The Welsh Rugby Union has recently teamed up with Prostate Cymru to help the charity launch its latest campaign to raise awareness of the disease. Members of the Wales squad helped produce a short video and promotional material for the campaign titled 'The Best Defence - is to know the FACTS'.